package com.winsomely.leecode;

import com.winsomely.leecode.model.ListNode;

/**
 * 删除链表中的节点
 * 
 * @author liujiawei
 *
 */
public class DeleteNode {

	public void deleteNode(ListNode node) {
		node.val = node.next.val;
		node.next = node.next.next;
	}

	public static void main(String[] args) {
		DeleteNode t = new DeleteNode();
	}

}
